</parameters>
</function-macro>
<constant name="BUILT_FEATURES"
- value="libsoup gpgme ex-fsverity libarchive selinux libmount systemd devel p2p"
+ value="libcurl gpgme ex-fsverity libarchive selinux openssl libmount systemd release p2p"
c:type="OSTREE_BUILT_FEATURES"
version="2019.3">
<doc xml:space="preserve"
</parameter>
</parameters>
</function-macro>
- <function-macro name="IS_TLS_CERT_INTERACTION"
- c:identifier="OSTREE_IS_TLS_CERT_INTERACTION"
- introspectable="0">
- <source-position filename="ostree-tls-cert-interaction.h" line="30"/>
- <parameters>
- <parameter name="o">
- </parameter>
- </parameters>
- </function-macro>
- <function-macro name="IS_TLS_CERT_INTERACTION_CLASS"
- c:identifier="OSTREE_IS_TLS_CERT_INTERACTION_CLASS"
- introspectable="0">
- <source-position filename="ostree-tls-cert-interaction.h" line="31"/>
- <parameters>
- <parameter name="k">
- </parameter>
- </parameters>
- </function-macro>
<record name="KernelArgs" c:type="OstreeKernelArgs" disguised="1">
<source-position filename="ostree-kernel-args.h" line="29"/>
<method name="append"
filename="ostree-mutable-tree.c"
line="659">Creates a new OstreeMutableTree with the contents taken from the given repo
and checksums. The data will be loaded from the repo lazily as needed.</doc>
- <source-position filename="ostree-mutable-tree.h" line="56"/>
+ <source-position filename="ostree-mutable-tree.h" line="62"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
</parameter>
</parameters>
</constructor>
+ <constructor name="new_from_commit"
+ c:identifier="ostree_mutable_tree_new_from_commit"
+ version="2021.5"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-mutable-tree.c"
+ line="685">Creates a new OstreeMutableTree with the contents taken from the given commit.
+The data will be loaded from the repo lazily as needed.</doc>
+ <source-position filename="ostree-mutable-tree.h" line="57"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-mutable-tree.c"
+ line="693">A new tree</doc>
+ <type name="MutableTree" c:type="OstreeMutableTree*"/>
+ </return-value>
+ <parameters>
+ <parameter name="repo" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-mutable-tree.c"
+ line="687">The repo which contains the objects refered by the checksums.</doc>
+ <type name="Repo" c:type="OstreeRepo*"/>
+ </parameter>
+ <parameter name="rev" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-mutable-tree.c"
+ line="688">ref or SHA-256 checksum</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ </parameters>
+ </constructor>
<method name="check_error"
c:identifier="ostree_mutable_tree_check_error"
version="2018.7"
data in the background; if an error occurred during a non-throwing
API call, it will have been cached. This function checks for a
cached error. The tree remains in error state.</doc>
- <source-position filename="ostree-mutable-tree.h" line="122"/>
+ <source-position filename="ostree-mutable-tree.h" line="128"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
filename="ostree-mutable-tree.c"
line="363">Returns the subdirectory of self with filename @name, creating an empty one
it if it doesn't exist.</doc>
- <source-position filename="ostree-mutable-tree.h" line="87"/>
+ <source-position filename="ostree-mutable-tree.h" line="93"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
filename="ostree-mutable-tree.c"
line="439">Create all parent trees necessary for the given @split_path to
exist.</doc>
- <source-position filename="ostree-mutable-tree.h" line="101"/>
+ <source-position filename="ostree-mutable-tree.h" line="107"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
the @repo. We can do this if either @self is empty, the tree given by
@contents_checksum is empty or if both trees already have the same
@contents_checksum.</doc>
- <source-position filename="ostree-mutable-tree.h" line="115"/>
+ <source-position filename="ostree-mutable-tree.h" line="121"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
</method>
<method name="get_contents_checksum"
c:identifier="ostree_mutable_tree_get_contents_checksum">
- <source-position filename="ostree-mutable-tree.h" line="72"/>
+ <source-position filename="ostree-mutable-tree.h" line="78"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</parameters>
</method>
<method name="get_files" c:identifier="ostree_mutable_tree_get_files">
- <source-position filename="ostree-mutable-tree.h" line="128"/>
+ <source-position filename="ostree-mutable-tree.h" line="134"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
</method>
<method name="get_metadata_checksum"
c:identifier="ostree_mutable_tree_get_metadata_checksum">
- <source-position filename="ostree-mutable-tree.h" line="65"/>
+ <source-position filename="ostree-mutable-tree.h" line="71"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</method>
<method name="get_subdirs"
c:identifier="ostree_mutable_tree_get_subdirs">
- <source-position filename="ostree-mutable-tree.h" line="126"/>
+ <source-position filename="ostree-mutable-tree.h" line="132"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
<method name="lookup"
c:identifier="ostree_mutable_tree_lookup"
throws="1">
- <source-position filename="ostree-mutable-tree.h" line="93"/>
+ <source-position filename="ostree-mutable-tree.h" line="99"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
line="326">Remove the file or subdirectory named @name from the mutable tree @self.</doc>
- <source-position filename="ostree-mutable-tree.h" line="81"/>
+ <source-position filename="ostree-mutable-tree.h" line="87"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="replace_file"
c:identifier="ostree_mutable_tree_replace_file"
throws="1">
- <source-position filename="ostree-mutable-tree.h" line="75"/>
+ <source-position filename="ostree-mutable-tree.h" line="81"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="set_contents_checksum"
c:identifier="ostree_mutable_tree_set_contents_checksum">
- <source-position filename="ostree-mutable-tree.h" line="68"/>
+ <source-position filename="ostree-mutable-tree.h" line="74"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="set_metadata_checksum"
c:identifier="ostree_mutable_tree_set_metadata_checksum">
- <source-position filename="ostree-mutable-tree.h" line="61"/>
+ <source-position filename="ostree-mutable-tree.h" line="67"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
filename="ostree-mutable-tree.c"
line="558">Traverse @start number of elements starting from @split_path; the
child will be returned in @out_subdir.</doc>
- <source-position filename="ostree-mutable-tree.h" line="108"/>
+ <source-position filename="ostree-mutable-tree.h" line="114"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1267">An accessor object for an OSTree repository located at @path</doc>
+ line="1379">An accessor object for an OSTree repository located at @path</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1265">Path to a repository</doc>
+ line="1377">Path to a repository</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
<constructor name="new_default" c:identifier="ostree_repo_new_default">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1340">If the current working directory appears to be an OSTree
+ line="1452">If the current working directory appears to be an OSTree
repository, create a new #OstreeRepo object for accessing it.
Otherwise use the path in the OSTREE_REPO environment variable
(if defined) or else the default system repository located at
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1349">An accessor object for an OSTree repository located at /ostree/repo</doc>
+ line="1461">An accessor object for an OSTree repository located at /ostree/repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
</constructor>
c:identifier="ostree_repo_new_for_sysroot_path">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1323">Creates a new #OstreeRepo instance, taking the system root path explicitly
+ line="1435">Creates a new #OstreeRepo instance, taking the system root path explicitly
instead of assuming "/".</doc>
<source-position filename="ostree-repo.h" line="57"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1331">An accessor object for the OSTree repository located at @repo_path.</doc>
+ line="1443">An accessor object for the OSTree repository located at @repo_path.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="repo_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1325">Path to a repository</doc>
+ line="1437">Path to a repository</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="sysroot_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1326">Path to the system root</doc>
+ line="1438">Path to the system root</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2748">This is a file-descriptor relative version of ostree_repo_create().
+ line="2860">This is a file-descriptor relative version of ostree_repo_create().
Create the underlying structure on disk for the repository, and call
ostree_repo_open_at() on the result, preparing it for use.
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2770">A new OSTree repository reference</doc>
+ line="2882">A new OSTree repository reference</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2750">Directory fd</doc>
+ line="2862">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2751">Path</doc>
+ line="2863">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2752">The mode to store the repository in</doc>
+ line="2864">The mode to store the repository in</doc>
<type name="RepoMode" c:type="OstreeRepoMode"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2753">a{sv}: See below for accepted keys</doc>
+ line="2865">a{sv}: See below for accepted keys</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2754">Cancellable</doc>
+ line="2866">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2574">a repo mode as a string</doc>
+ line="2686">a repo mode as a string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_mode"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2575">the corresponding #OstreeRepoMode</doc>
+ line="2687">the corresponding #OstreeRepoMode</doc>
<type name="RepoMode" c:type="OstreeRepoMode*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1288">This combines ostree_repo_new() (but using fd-relative access) with
+ line="1400">This combines ostree_repo_new() (but using fd-relative access) with
ostree_repo_open(). Use this when you know you should be operating on an
already extant repository. If you want to create one, use ostree_repo_create_at().</doc>
<source-position filename="ostree-repo.h" line="70"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1297">An accessor object for an OSTree repository located at @dfd + @path</doc>
+ line="1409">An accessor object for an OSTree repository located at @dfd + @path</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1290">Directory fd</doc>
+ line="1402">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1291">Path</doc>
+ line="1403">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
c:identifier="ostree_repo_pull_default_console_progress_changed">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4934">Convenient "changed" callback for use with
+ line="5046">Convenient "changed" callback for use with
ostree_async_progress_new_and_connect() when pulling from a remote
repository.
<parameter name="progress" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4936">Async progress</doc>
+ line="5048">Async progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4937">User data</doc>
+ line="5049">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2355">Abort the active transaction; any staged objects and ref changes will be
+ line="2359">Abort the active transaction; any staged objects and ref changes will be
discarded. You *must* invoke this if you have chosen not to invoke
ostree_repo_commit_transaction(). Calling this function when not in a
transaction will do nothing and return successfully.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2357">An #OstreeRepo</doc>
+ line="2361">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2358">Cancellable</doc>
+ line="2362">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5305">Add a GPG signature to a summary file.</doc>
+ line="5417">Add a GPG signature to a summary file.</doc>
<source-position filename="ostree-repo.h" line="1484"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5307">Self</doc>
+ line="5419">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5308">NULL-terminated array of GPG keys.</doc>
+ line="5420">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5309">GPG home directory, or %NULL</doc>
+ line="5421">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5310">A #GCancellable</doc>
+ line="5422">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5084">Append a GPG signature to a commit.</doc>
+ line="5196">Append a GPG signature to a commit.</doc>
<source-position filename="ostree-repo.h" line="1491"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5086">Self</doc>
+ line="5198">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5087">SHA256 of given commit to sign</doc>
+ line="5199">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="signature_bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5088">Signature data</doc>
+ line="5200">Signature data</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5089">A #GCancellable</doc>
+ line="5201">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2259">Complete the transaction. Any refs set with
+ line="2263">Complete the transaction. Any refs set with
ostree_repo_transaction_set_ref() or
ostree_repo_transaction_set_refspec() will be written out.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2261">An #OstreeRepo</doc>
+ line="2265">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_stats"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2262">A set of statistics of things
+ line="2266">A set of statistics of things
that happened during this transaction.</doc>
<type name="RepoTransactionStats"
c:type="OstreeRepoTransactionStats*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2264">Cancellable</doc>
+ line="2268">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1468">A newly-allocated copy of the repository config</doc>
+ line="1580">A newly-allocated copy of the repository config</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<method name="create" c:identifier="ostree_repo_create" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2700">Create the underlying structure on disk for the repository, and call
+ line="2812">Create the underlying structure on disk for the repository, and call
ostree_repo_open() on the result, preparing it for use.
Since version 2016.8, this function will succeed on an existing
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2702">An #OstreeRepo</doc>
+ line="2814">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2703">The mode to store the repository in</doc>
+ line="2815">The mode to store the repository in</doc>
<type name="RepoMode" c:type="OstreeRepoMode"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2704">Cancellable</doc>
+ line="2816">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4378">Remove the object of type @objtype with checksum @sha256
+ line="4490">Remove the object of type @objtype with checksum @sha256
from the repository. An error of type %G_IO_ERROR_NOT_FOUND
is thrown if the object does not exist.</doc>
<source-position filename="ostree-repo.h" line="639"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4380">Repo</doc>
+ line="4492">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4381">Object type</doc>
+ line="4493">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4382">Checksum</doc>
+ line="4494">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4383">Cancellable</doc>
+ line="4495">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="equal" c:identifier="ostree_repo_equal" version="2017.12">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3648">Check whether two opened repositories are the same on disk: if their root
+ line="3760">Check whether two opened repositories are the same on disk: if their root
directories are the same inode. If @a or @b are not open yet (due to
ostree_repo_open() not being called on them yet), %FALSE will be returned.</doc>
<source-position filename="ostree-repo.h" line="131"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3657">%TRUE if @a and @b are the same repository on disk, %FALSE otherwise</doc>
+ line="3769">%TRUE if @a and @b are the same repository on disk, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3650">an #OstreeRepo</doc>
+ line="3762">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3651">an #OstreeRepo</doc>
+ line="3763">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4494">Verify consistency of the object; this performs checks only relevant to the
+ line="4606">Verify consistency of the object; this performs checks only relevant to the
immediate object itself, such as checksumming. This API call will not itself
traverse metadata objects for example.</doc>
<source-position filename="ostree-repo.h" line="646"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4496">Repo</doc>
+ line="4608">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4497">Object type</doc>
+ line="4609">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4498">Checksum</doc>
+ line="4610">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4499">Cancellable</doc>
+ line="4611">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2019.2">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6488">Get the bootloader configured. See the documentation for the
+ line="6600">Get the bootloader configured. See the documentation for the
"sysroot.bootloader" config key.</doc>
<source-position filename="ostree-repo.h" line="120"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6495">bootloader configuration for the sysroot</doc>
+ line="6607">bootloader configuration for the sysroot</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6490">an #OstreeRepo</doc>
+ line="6602">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6416">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
+ line="6528">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
<source-position filename="ostree-repo.h" line="110"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6422">collection ID for the repository</doc>
+ line="6534">collection ID for the repository</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6418">an #OstreeRepo</doc>
+ line="6530">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1454">The repository configuration; do not modify</doc>
+ line="1566">The repository configuration; do not modify</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
version="2018.9">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6469">Get the set of default repo finders configured. See the documentation for
+ line="6581">Get the set of default repo finders configured. See the documentation for
the "core.default-repo-finders" config key.</doc>
<source-position filename="ostree-repo.h" line="117"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6476">
+ line="6588">
%NULL-terminated array of strings.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6471">an #OstreeRepo</doc>
+ line="6583">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2016.4">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3599">In some cases it's useful for applications to access the repository
+ line="3711">In some cases it's useful for applications to access the repository
directly; for example, writing content into `repo/tmp` ensures it's
on the same filesystem. Another case is detecting the mtime on the
repository (to see whether a ref was written).</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3608">File descriptor for repository root - owned by @self</doc>
+ line="3720">File descriptor for repository root - owned by @self</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3601">Repo</doc>
+ line="3713">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_repo_get_disable_fsync">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3546">For more information see ostree_repo_set_disable_fsync().</doc>
+ line="3658">For more information see ostree_repo_set_disable_fsync().</doc>
<source-position filename="ostree-repo.h" line="87"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3552">Whether or not fsync() is enabled for this repo.</doc>
+ line="3664">Whether or not fsync() is enabled for this repo.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3548">An #OstreeRepo</doc>
+ line="3660">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3681">Determine the number of bytes of free disk space that are reserved according
+ line="3793">Determine the number of bytes of free disk space that are reserved according
to the repo config and return that number in @out_reserved_bytes. See the
documentation for the core.min-free-space-size and
core.min-free-space-percent repo config options.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3692">%TRUE on success, %FALSE otherwise.</doc>
+ line="3804">%TRUE on success, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3683">Repo</doc>
+ line="3795">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_reserved_bytes"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3684">Location to store the result</doc>
+ line="3796">Location to store the result</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
<method name="get_parent" c:identifier="ostree_repo_get_parent">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3708">Before this function can be used, ostree_repo_init() must have been
+ line="3820">Before this function can be used, ostree_repo_init() must have been
called.</doc>
<source-position filename="ostree-repo.h" line="245"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3715">Parent repository, or %NULL if none</doc>
+ line="3827">Parent repository, or %NULL if none</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3710">Repo</doc>
+ line="3822">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
<method name="get_path" c:identifier="ostree_repo_get_path">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3577">Note that since the introduction of ostree_repo_open_at(), this function may
+ line="3689">Note that since the introduction of ostree_repo_open_at(), this function may
return a process-specific path in `/proc` if the repository was created using
that API. In general, you should avoid use of this API.</doc>
<source-position filename="ostree-repo.h" line="123"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3585">Path to repo</doc>
+ line="3697">Path to repo</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3579">Repo</doc>
+ line="3691">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="963">OSTree remotes are represented by keyfile groups, formatted like:
+ line="1075">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, and returns it as a boolean.
If the option is not set, @out_value will be set to @default_value. If an
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="978">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="1090">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="965">A OstreeRepo</doc>
+ line="1077">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="966">Name</doc>
+ line="1078">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="967">Option</doc>
+ line="1079">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="default_value" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="968">Value returned if @option_name is not present</doc>
+ line="1080">Value returned if @option_name is not present</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="969">location to store the result.</doc>
+ line="1081">location to store the result.</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="885">OSTree remotes are represented by keyfile groups, formatted like:
+ line="997">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, and returns it as a zero terminated array of strings.
If the option is not set, or if an error is returned, @out_value will be set
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="901">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="1013">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="887">A OstreeRepo</doc>
+ line="999">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="888">Name</doc>
+ line="1000">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="889">Option</doc>
+ line="1001">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="890">location to store the list
+ line="1002">location to store the list
of strings. The list should be freed with
g_strfreev().</doc>
<array c:type="char***">
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="807">OSTree remotes are represented by keyfile groups, formatted like:
+ line="919">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, or @default_value if the remote exists but not the
option name. If an error is returned, @out_value will be set to %NULL.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="821">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="933">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="809">A OstreeRepo</doc>
+ line="921">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="810">Name</doc>
+ line="922">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="811">Option</doc>
+ line="923">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="default_value"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="812">Value returned if @option_name is not present</doc>
+ line="924">Value returned if @option_name is not present</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="813">Return location for value</doc>
+ line="925">Return location for value</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5371">Sign the given @data with the specified keys in @key_id. Similar to
+ line="5483">Sign the given @data with the specified keys in @key_id. Similar to
ostree_repo_add_gpg_signature_summary() but can be used on any
data.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5388">@TRUE if @data has been signed successfully,
+ line="5500">@TRUE if @data has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5373">Self</doc>
+ line="5485">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5374">Data as a #GBytes</doc>
+ line="5486">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="old_signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5375">Existing signatures to append to (or %NULL)</doc>
+ line="5487">Existing signatures to append to (or %NULL)</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5376">NULL-terminated array of GPG keys.</doc>
+ line="5488">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5377">GPG home directory, or %NULL</doc>
+ line="5489">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="out_signatures"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5378">in case of success will contain signature</doc>
+ line="5490">in case of success will contain signature</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5379">A #GCancellable</doc>
+ line="5491">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5802">Verify @signatures for @data using GPG keys in the keyring for
+ line="5914">Verify @signatures for @data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.
The @remote_name parameter can be %NULL. In that case it will do
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5819">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5931">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5804">Repository</doc>
+ line="5916">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5805">Name of remote</doc>
+ line="5917">Name of remote</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5806">Data as a #GBytes</doc>
+ line="5918">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5807">Signatures as a #GBytes</doc>
+ line="5919">Signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5808">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5920">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5809">Path to additional keyring file (not a directory)</doc>
+ line="5921">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5810">Cancellable</doc>
+ line="5922">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4336">Set @out_have_object to %TRUE if @self contains the given object;
+ line="4448">Set @out_have_object to %TRUE if @self contains the given object;
%FALSE otherwise.</doc>
<source-position filename="ostree-repo.h" line="386"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4348">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
+ line="4460">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4338">Repo</doc>
+ line="4450">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4339">Object type</doc>
+ line="4451">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4340">ASCII SHA256 checksum</doc>
+ line="4452">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_have_object"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4341">%TRUE if repository contains object</doc>
+ line="4453">%TRUE if repository contains object</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4342">Cancellable</doc>
+ line="4454">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="hash" c:identifier="ostree_repo_hash" version="2017.12">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3618">Calculate a hash value for the given open repository, suitable for use when
+ line="3730">Calculate a hash value for the given open repository, suitable for use when
putting it into a hash table. It is an error to call this on an #OstreeRepo
which is not yet open, as a persistent hash value cannot be calculated until
the repository is open and the inode of its root directory has been loaded.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3629">hash value for the #OstreeRepo</doc>
+ line="3741">hash value for the #OstreeRepo</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3620">an #OstreeRepo</doc>
+ line="3732">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4521">Copy object named by @objtype and @checksum into @self from the
+ line="4633">Copy object named by @objtype and @checksum into @self from the
source repository @source. If both repositories are of the same
type and on the same filesystem, this will simply be a fast Unix
hard link operation.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4523">Destination repo</doc>
+ line="4635">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4524">Source repo</doc>
+ line="4636">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4525">Object type</doc>
+ line="4637">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4526">checksum</doc>
+ line="4638">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4527">Cancellable</doc>
+ line="4639">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4550">Copy object named by @objtype and @checksum into @self from the
+ line="4662">Copy object named by @objtype and @checksum into @self from the
source repository @source. If @trusted is %TRUE and both
repositories are of the same type and on the same filesystem,
this will simply be a fast Unix hard link operation.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4552">Destination repo</doc>
+ line="4664">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4553">Source repo</doc>
+ line="4665">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4554">Object type</doc>
+ line="4666">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4555">checksum</doc>
+ line="4667">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4556">If %TRUE, assume the source repo is valid and trusted</doc>
+ line="4668">If %TRUE, assume the source repo is valid and trusted</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4557">Cancellable</doc>
+ line="4669">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1378">%TRUE if this repository is the root-owned system global repository</doc>
+ line="1490">%TRUE if this repository is the root-owned system global repository</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1376">Repository</doc>
+ line="1488">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1408">Returns whether the repository is writable by the current user.
+ line="1520">Returns whether the repository is writable by the current user.
If the repository is not writable, the @error indicates why.</doc>
<source-position filename="ostree-repo.h" line="93"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1416">%TRUE if this repository is writable</doc>
+ line="1528">%TRUE if this repository is writable</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1410">Repo</doc>
+ line="1522">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4744">This function synchronously enumerates all commit objects starting
+ line="4856">This function synchronously enumerates all commit objects starting
with @start, returning data in @out_commits.</doc>
<source-position filename="ostree-repo.h" line="1073"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4756">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4868">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4746">Repo</doc>
+ line="4858">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4747">List commits starting with this checksum</doc>
+ line="4859">List commits starting with this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commits"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4748">
+ line="4860">
Map of serialized commit name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4750">Cancellable</doc>
+ line="4862">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4690">This function synchronously enumerates all objects in the
+ line="4802">This function synchronously enumerates all objects in the
repository, returning data in @out_objects. @out_objects
maps from keys returned by ostree_object_name_serialize()
to #GVariant values of type %OSTREE_REPO_LIST_OBJECTS_VARIANT_TYPE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4704">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4816">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4692">Repo</doc>
+ line="4804">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4693">Flags controlling enumeration</doc>
+ line="4805">Flags controlling enumeration</doc>
<type name="RepoListObjectsFlags"
c:type="OstreeRepoListObjectsFlags"/>
</parameter>
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4694">
+ line="4806">
Map of serialized object name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4696">Cancellable</doc>
+ line="4808">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4666">A version of ostree_repo_load_variant() specialized to commits,
+ line="4778">A version of ostree_repo_load_variant() specialized to commits,
capable of returning extended state information. Currently
the only extended state is %OSTREE_REPO_COMMIT_STATE_PARTIAL, which
means that only a sub-path of the commit is available.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4668">Repo</doc>
+ line="4780">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4669">Commit checksum</doc>
+ line="4781">Commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commit"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4670">Commit</doc>
+ line="4782">Commit</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="out_state"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4671">Commit state</doc>
+ line="4783">Commit state</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState*"/>
</parameter>
</parameters>
<method name="load_file" c:identifier="ostree_repo_load_file" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4175">Load content object, decomposing it into three parts: the actual
+ line="4287">Load content object, decomposing it into three parts: the actual
content (for regular files), the metadata, and extended attributes.</doc>
<source-position filename="ostree-repo.h" line="597"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4177">Repo</doc>
+ line="4289">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4178">ASCII SHA256 checksum</doc>
+ line="4290">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4179">File content</doc>
+ line="4291">File content</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4180">File information</doc>
+ line="4292">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4181">Extended attributes</doc>
+ line="4293">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4182">Cancellable</doc>
+ line="4294">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4236">Load object as a stream; useful when copying objects between
+ line="4348">Load object as a stream; useful when copying objects between
repositories.</doc>
<source-position filename="ostree-repo.h" line="606"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4238">Repo</doc>
+ line="4350">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4239">Object type</doc>
+ line="4351">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4240">ASCII SHA256 checksum</doc>
+ line="4352">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4241">Stream for object</doc>
+ line="4353">Stream for object</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4242">Length of @out_input</doc>
+ line="4354">Length of @out_input</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4243">Cancellable</doc>
+ line="4355">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4644">Load the metadata object @sha256 of type @objtype, storing the
+ line="4756">Load the metadata object @sha256 of type @objtype, storing the
result in @out_variant.</doc>
<source-position filename="ostree-repo.h" line="576"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4646">Repo</doc>
+ line="4758">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4647">Expected object type</doc>
+ line="4759">Expected object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4648">Checksum string</doc>
+ line="4760">Checksum string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4649">Metadata object</doc>
+ line="4761">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4620">Attempt to load the metadata object @sha256 of type @objtype if it
+ line="4732">Attempt to load the metadata object @sha256 of type @objtype if it
exists, storing the result in @out_variant. If it doesn't exist,
@out_variant will be set to %NULL and the function will still
return TRUE.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4622">Repo</doc>
+ line="4734">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4623">Object type</doc>
+ line="4735">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4624">ASCII checksum</doc>
+ line="4736">ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4625">Metadata</doc>
+ line="4737">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2033">Commits in the "partial" state do not have all their child objects
+ line="2037">Commits in the "partial" state do not have all their child objects
written. This occurs in various situations, such as during a pull,
but also if a "subpath" pull is used, as well as "commit only"
pulls.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2035">Repo</doc>
+ line="2039">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2036">Commit SHA-256</doc>
+ line="2040">Commit SHA-256</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_partial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2037">Whether or not this commit is partial</doc>
+ line="2041">Whether or not this commit is partial</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1982">Allows the setting of a reason code for a partial commit. Presently
+ line="1986">Allows the setting of a reason code for a partial commit. Presently
it only supports setting reason bitmask to
OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL, or
OSTREE_REPO_COMMIT_STATE_NORMAL. This will allow successive ostree
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1984">Repo</doc>
+ line="1988">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1985">Commit SHA-256</doc>
+ line="1989">Commit SHA-256</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_partial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1986">Whether or not this commit is partial</doc>
+ line="1990">Whether or not this commit is partial</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="in_state" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1987">Reason bitmask for partial commit</doc>
+ line="1991">Reason bitmask for partial commit</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState"/>
</parameter>
</parameters>
<method name="pull" c:identifier="ostree_repo_pull" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4822">Connect to the remote repository, fetching the specified set of
+ line="4934">Connect to the remote repository, fetching the specified set of
refs @refs_to_fetch. For each ref that is changed, download the
commit, all metadata, and all content objects, storing them safely
on disk in @self.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4824">Repo</doc>
+ line="4936">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4825">Name of remote</doc>
+ line="4937">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4826">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="4938">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4827">Options controlling fetch behavior</doc>
+ line="4939">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4828">Progress</doc>
+ line="4940">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4829">Cancellable</doc>
+ line="4941">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4861">This is similar to ostree_repo_pull(), but only fetches a single
+ line="4973">This is similar to ostree_repo_pull(), but only fetches a single
subpath.</doc>
<source-position filename="ostree-repo.h" line="1333"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4863">Repo</doc>
+ line="4975">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4864">Name of remote</doc>
+ line="4976">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="dir_to_pull" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4865">Subdirectory path</doc>
+ line="4977">Subdirectory path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4866">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="4978">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4867">Options controlling fetch behavior</doc>
+ line="4979">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4868">Progress</doc>
+ line="4980">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4869">Cancellable</doc>
+ line="4981">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4584">Return the size in bytes of object with checksum @sha256, after any
+ line="4696">Return the size in bytes of object with checksum @sha256, after any
compression has been applied.</doc>
<source-position filename="ostree-repo.h" line="615"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4586">Repo</doc>
+ line="4698">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4587">Object type</doc>
+ line="4699">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4588">Checksum</doc>
+ line="4700">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4589">Size in bytes object occupies physically</doc>
+ line="4701">Size in bytes object occupies physically</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4590">Cancellable</doc>
+ line="4702">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4787">Load the content for @rev into @out_root.</doc>
+ line="4899">Load the content for @rev into @out_root.</doc>
<source-position filename="ostree-repo.h" line="1036"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4789">Repo</doc>
+ line="4901">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4790">Ref or ASCII checksum</doc>
+ line="4902">Ref or ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_root"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4791">An #OstreeRepoFile corresponding to the root</doc>
+ line="4903">An #OstreeRepoFile corresponding to the root</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4792">The resolved commit checksum</doc>
+ line="4904">The resolved commit checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4793">Cancellable</doc>
+ line="4905">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3116">OSTree commits can have arbitrary metadata associated; this
+ line="3120">OSTree commits can have arbitrary metadata associated; this
function retrieves them. If none exists, @out_metadata will be set
to %NULL.</doc>
<source-position filename="ostree-repo.h" line="898"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3118">Repo</doc>
+ line="3122">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3119">ASCII SHA256 commit checksum</doc>
+ line="3123">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_metadata"
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3120">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
+ line="3124">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3121">Cancellable</doc>
+ line="3125">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5943">An OSTree repository can contain a high level "summary" file that
+ line="6055">An OSTree repository can contain a high level "summary" file that
describes the available branches and other metadata.
If the timetable for making commits and updating the summary file is fairly
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5945">Repo</doc>
+ line="6057">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="additional_metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5946">A GVariant of type a{sv}, or %NULL</doc>
+ line="6058">A GVariant of type a{sv}, or %NULL</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5947">Cancellable</doc>
+ line="6059">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3353">By default, an #OstreeRepo will cache the remote configuration and its
+ line="3465">By default, an #OstreeRepo will cache the remote configuration and its
own repo/config data. This API can be used to reload it.</doc>
<source-position filename="ostree-repo.h" line="148"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3355">repo</doc>
+ line="3467">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3356">cancellable</doc>
+ line="3468">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1677">Create a new remote named @name pointing to @url. If @options is
+ line="1789">Create a new remote named @name pointing to @url. If @options is
provided, then it will be mapped to #GKeyFile entries, where the
GVariant dictionary key is an option string, and the value is
mapped as follows:
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1679">Repo</doc>
+ line="1791">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1680">Name of remote</doc>
+ line="1792">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1681">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
+ line="1793">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1682">GVariant of type a{sv}</doc>
+ line="1794">GVariant of type a{sv}</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1683">Cancellable</doc>
+ line="1795">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1867">A combined function handling the equivalent of
+ line="1979">A combined function handling the equivalent of
ostree_repo_remote_add(), ostree_repo_remote_delete(), with more
options.</doc>
<source-position filename="ostree-repo.h" line="184"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1869">Repo</doc>
+ line="1981">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="sysroot"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1870">System root</doc>
+ line="1982">System root</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="changeop" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1871">Operation to perform</doc>
+ line="1983">Operation to perform</doc>
<type name="RepoRemoteChange" c:type="OstreeRepoRemoteChange"/>
</parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1872">Name of remote</doc>
+ line="1984">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1873">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
+ line="1985">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1874">GVariant of type a{sv}</doc>
+ line="1986">GVariant of type a{sv}</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1875">Cancellable</doc>
+ line="1987">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1763">Delete the remote named @name. It is an error if the provided
+ line="1875">Delete the remote named @name. It is an error if the provided
remote does not exist.</doc>
<source-position filename="ostree-repo.h" line="161"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1765">Repo</doc>
+ line="1877">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1766">Name of remote</doc>
+ line="1878">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1767">Cancellable</doc>
+ line="1879">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2498">Tries to fetch the summary file and any GPG signatures on the summary file
+ line="2610">Tries to fetch the summary file and any GPG signatures on the summary file
over HTTP, and returns the binary data in @out_summary and @out_signatures
respectively.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2523">%TRUE on success, %FALSE on failure</doc>
+ line="2635">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2500">Self</doc>
+ line="2612">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2501">name of a remote</doc>
+ line="2613">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2502">return location for raw summary data, or
+ line="2614">return location for raw summary data, or
%NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2504">return location for raw summary
+ line="2616">return location for raw summary
signature data, or %NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2506">a #GCancellable</doc>
+ line="2618">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2370">Enumerate the trusted GPG keys for the remote @name. If @name is
+ line="2482">Enumerate the trusted GPG keys for the remote @name. If @name is
%NULL, the global GPG keys will be returned. The keys will be
returned in the @out_keys #GPtrArray. Each element in the array is a
#GVariant of format %OSTREE_GPG_KEY_GVARIANT_FORMAT. The @key_ids
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2389">%TRUE if the GPG keys could be enumerated, %FALSE otherwise</doc>
+ line="2501">%TRUE if the GPG keys could be enumerated, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2372">an #OstreeRepo</doc>
+ line="2484">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2373">name of the remote or %NULL</doc>
+ line="2485">name of the remote or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="key_ids"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2374">
+ line="2486">
a %NULL-terminated array of GPG key IDs to include, or %NULL</doc>
<array c:type="const char* const*">
<type name="utf8"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2376">
+ line="2488">
return location for a #GPtrArray of the remote's trusted GPG keys, or
%NULL</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2379">a #GCancellable, or %NULL</doc>
+ line="2491">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2028">Return whether GPG verification is enabled for the remote named @name
+ line="2140">Return whether GPG verification is enabled for the remote named @name
through @out_gpg_verify. It is an error if the provided remote does
not exist.</doc>
<source-position filename="ostree-repo.h" line="1422"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2039">%TRUE on success, %FALSE on failure</doc>
+ line="2151">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2030">Repo</doc>
+ line="2142">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2031">Name of remote</doc>
+ line="2143">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_gpg_verify"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2032">Remote's GPG option</doc>
+ line="2144">Remote's GPG option</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2062">Return whether GPG verification of the summary is enabled for the remote
+ line="2174">Return whether GPG verification of the summary is enabled for the remote
named @name through @out_gpg_verify_summary. It is an error if the provided
remote does not exist.</doc>
<source-position filename="ostree-repo.h" line="1428"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2073">%TRUE on success, %FALSE on failure</doc>
+ line="2185">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2064">Repo</doc>
+ line="2176">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2065">Name of remote</doc>
+ line="2177">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_gpg_verify_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2066">Remote's GPG option</doc>
+ line="2178">Remote's GPG option</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1985">Return the URL of the remote named @name through @out_url. It is an
+ line="2097">Return the URL of the remote named @name through @out_url. It is an
error if the provided remote does not exist.</doc>
<source-position filename="ostree-repo.h" line="198"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1995">%TRUE on success, %FALSE on failure</doc>
+ line="2107">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1987">Repo</doc>
+ line="2099">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1988">Name of remote</doc>
+ line="2100">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1989">Remote's URL</doc>
+ line="2101">Remote's URL</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2085">Imports one or more GPG keys from the open @source_stream, or from the
+ line="2197">Imports one or more GPG keys from the open @source_stream, or from the
user's personal keyring if @source_stream is %NULL. The @key_ids array
can optionally restrict which keys are imported. If @key_ids is %NULL,
then all keys are imported.
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2104">%TRUE on success, %FALSE on failure</doc>
+ line="2216">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2087">Self</doc>
+ line="2199">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2088">name of a remote</doc>
+ line="2200">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="source_stream"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2089">a #GInputStream, or %NULL</doc>
+ line="2201">a #GInputStream, or %NULL</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="key_ids"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2090">a %NULL-terminated array of GPG key IDs, or %NULL</doc>
+ line="2202">a %NULL-terminated array of GPG key IDs, or %NULL</doc>
<array c:type="const char* const*">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2091">return location for the number of imported
+ line="2203">return location for the number of imported
keys, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2093">a #GCancellable</doc>
+ line="2205">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="remote_list" c:identifier="ostree_repo_remote_list">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1934">List available remote names in an #OstreeRepo. Remote names are sorted
+ line="2046">List available remote names in an #OstreeRepo. Remote names are sorted
alphabetically. If no remotes are available the function returns %NULL.</doc>
<source-position filename="ostree-repo.h" line="194"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1942">a %NULL-terminated
+ line="2054">a %NULL-terminated
array of remote names</doc>
<array length="0" zero-terminated="0" c:type="char**">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1936">Repo</doc>
+ line="2048">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_n_remotes"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1937">Number of remotes available</doc>
+ line="2049">Number of remotes available</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2201">Like ostree_repo_set_ref_immediate(), but creates an alias.</doc>
+ line="2205">Like ostree_repo_set_ref_immediate(), but creates an alias.</doc>
<source-position filename="ostree-repo.h" line="371"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2203">An #OstreeRepo</doc>
+ line="2207">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2204">A remote for the ref</doc>
+ line="2208">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2205">The ref to write</doc>
+ line="2209">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="target"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2206">The ref target to point it to, or %NULL to unset</doc>
+ line="2210">The ref target to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2207">GCancellable</doc>
+ line="2211">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3514">Set a custom location for the cache directory used for e.g.
+ line="3626">Set a custom location for the cache directory used for e.g.
per-remote summary caches. Setting this manually is useful when
doing operations on a system repo as a user because you don't have
write permissions in the repo, where the cache is normally stored.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3516">An #OstreeRepo</doc>
+ line="3628">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3517">directory fd</doc>
+ line="3629">directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3518">subpath in @dfd</doc>
+ line="3630">subpath in @dfd</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3519">a #GCancellable</doc>
+ line="3631">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6433">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
+ line="6545">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
The update will be made in memory, but must be written out to the repository
configuration on disk using ostree_repo_write_config().</doc>
<source-position filename="ostree-repo.h" line="112"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6443">%TRUE on success, %FALSE otherwise</doc>
+ line="6555">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6435">an #OstreeRepo</doc>
+ line="6547">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="collection_id"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6436">new collection ID, or %NULL to unset it</doc>
+ line="6548">new collection ID, or %NULL to unset it</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2227">This is like ostree_repo_transaction_set_collection_ref(), except it may be
+ line="2231">This is like ostree_repo_transaction_set_collection_ref(), except it may be
invoked outside of a transaction. This is presently safe for the
case where we're creating or overwriting an existing ref.</doc>
<source-position filename="ostree-repo.h" line="379"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2239">%TRUE on success, %FALSE otherwise</doc>
+ line="2243">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2229">An #OstreeRepo</doc>
+ line="2233">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2230">The collection–ref to write</doc>
+ line="2234">The collection–ref to write</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2231">The checksum to point it to, or %NULL to unset</doc>
+ line="2235">The checksum to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2232">GCancellable</doc>
+ line="2236">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_set_disable_fsync">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3497">Disable requests to fsync() to stable storage during commits. This
+ line="3609">Disable requests to fsync() to stable storage during commits. This
option should only be used by build system tools which are creating
disposable virtual machines, or have higher level mechanisms for
ensuring data consistency.</doc>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3499">An #OstreeRepo</doc>
+ line="3611">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="disable_fsync" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3500">If %TRUE, do not fsync</doc>
+ line="3612">If %TRUE, do not fsync</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2173">This is like ostree_repo_transaction_set_ref(), except it may be
+ line="2177">This is like ostree_repo_transaction_set_ref(), except it may be
invoked outside of a transaction. This is presently safe for the
case where we're creating or overwriting an existing ref.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2175">An #OstreeRepo</doc>
+ line="2179">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2176">A remote for the ref</doc>
+ line="2180">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2177">The ref to write</doc>
+ line="2181">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2178">The checksum to point it to, or %NULL to unset</doc>
+ line="2182">The checksum to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2179">GCancellable</doc>
+ line="2183">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5189">Add a GPG signature to a commit.</doc>
+ line="5301">Add a GPG signature to a commit.</doc>
<source-position filename="ostree-repo.h" line="1396"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5191">Self</doc>
+ line="5303">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5192">SHA256 of given commit to sign</doc>
+ line="5304">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5193">Use this GPG key id</doc>
+ line="5305">Use this GPG key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5194">GPG home directory, or %NULL</doc>
+ line="5306">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5195">A #GCancellable</doc>
+ line="5307">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5278">This function is deprecated, sign the summary file instead.
+ line="5390">This function is deprecated, sign the summary file instead.
Add a GPG signature to a static delta.</doc>
<source-position filename="ostree-repo.h" line="1404"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5280">Self</doc>
+ line="5392">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="from_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5281">From commit</doc>
+ line="5393">From commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="to_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5282">To commit</doc>
+ line="5394">To commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5283">key id</doc>
+ line="5395">key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5284">homedir</doc>
+ line="5396">homedir</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5285">cancellable</doc>
+ line="5397">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2135">If @checksum is not %NULL, then record it as the target of local ref named
+ line="2139">If @checksum is not %NULL, then record it as the target of local ref named
@ref.
Otherwise, if @checksum is %NULL, then record that the ref should
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2137">An #OstreeRepo</doc>
+ line="2141">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2138">The collection–ref to write</doc>
+ line="2142">The collection–ref to write</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2139">The checksum to point it to</doc>
+ line="2143">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_transaction_set_ref">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2086">If @checksum is not %NULL, then record it as the target of ref named
+ line="2090">If @checksum is not %NULL, then record it as the target of ref named
@ref; if @remote is provided, the ref will appear to originate from that
remote.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2088">An #OstreeRepo</doc>
+ line="2092">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2089">A remote for the ref</doc>
+ line="2093">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2090">The ref to write</doc>
+ line="2094">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2091">The checksum to point it to</doc>
+ line="2095">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_transaction_set_refspec">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2061">Like ostree_repo_transaction_set_ref(), but takes concatenated
+ line="2065">Like ostree_repo_transaction_set_ref(), but takes concatenated
@refspec format as input instead of separate remote and name
arguments.
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2063">An #OstreeRepo</doc>
+ line="2067">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2064">The refspec to write</doc>
+ line="2068">The refspec to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2065">The checksum to point it to</doc>
+ line="2069">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5691">Check for a valid GPG signature on commit named by the ASCII
+ line="5803">Check for a valid GPG signature on commit named by the ASCII
checksum @commit_checksum.</doc>
<source-position filename="ostree-repo.h" line="1414"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5703">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
+ line="5815">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5693">Repository</doc>
+ line="5805">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5694">ASCII SHA256 checksum</doc>
+ line="5806">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5695">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5807">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5696">Path to additional keyring file (not a directory)</doc>
+ line="5808">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5697">Cancellable</doc>
+ line="5809">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5729">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5841">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results.</doc>
<source-position filename="ostree-repo.h" line="1508"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5741">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5853">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5731">Repository</doc>
+ line="5843">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5732">ASCII SHA256 checksum</doc>
+ line="5844">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5733">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5845">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5734">Path to additional keyring file (not a directory)</doc>
+ line="5846">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5735">Cancellable</doc>
+ line="5847">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5765">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5877">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results, based on the keyring
configured for @remote.</doc>
<source-position filename="ostree-repo.h" line="1517"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5777">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5889">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5767">Repository</doc>
+ line="5879">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5768">ASCII SHA256 checksum</doc>
+ line="5880">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5769">OSTree remote to use for configuration</doc>
+ line="5881">OSTree remote to use for configuration</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5770">Cancellable</doc>
+ line="5882">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5852">Verify @signatures for @summary data using GPG keys in the keyring for
+ line="5964">Verify @signatures for @summary data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.</doc>
<source-position filename="ostree-repo.h" line="1534"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5864">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5976">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5854">Repo</doc>
+ line="5966">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5855">Name of remote</doc>
+ line="5967">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="summary" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5856">Summary data as a #GBytes</doc>
+ line="5968">Summary data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5857">Summary signatures as a #GBytes</doc>
+ line="5969">Summary signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5858">Cancellable</doc>
+ line="5970">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3009">Write a commit metadata object, referencing @root_contents_checksum
+ line="3013">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.
This uses the current time as the commit timestamp, but it can be
overridden with an explicit timestamp via the
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3011">Repo</doc>
+ line="3015">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3012">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="3016">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3013">Subject</doc>
+ line="3017">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3014">Body</doc>
+ line="3018">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3015">GVariant of type a{sv}, or %NULL for none</doc>
+ line="3019">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3016">The tree to point the commit to</doc>
+ line="3020">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3017">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3021">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3018">Cancellable</doc>
+ line="3022">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3166">Replace any existing metadata associated with commit referred to by
+ line="3170">Replace any existing metadata associated with commit referred to by
@checksum with @metadata. If @metadata is %NULL, then existing
data will be deleted.</doc>
<source-position filename="ostree-repo.h" line="905"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3168">Repo</doc>
+ line="3172">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3169">ASCII SHA256 commit checksum</doc>
+ line="3173">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3170">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
+ line="3174">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3171">Cancellable</doc>
+ line="3175">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3062">Write a commit metadata object, referencing @root_contents_checksum
+ line="3066">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.</doc>
<source-position filename="ostree-repo.h" line="886"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3064">Repo</doc>
+ line="3068">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3065">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="3069">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3066">Subject</doc>
+ line="3070">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3067">Body</doc>
+ line="3071">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3068">GVariant of type a{sv}, or %NULL for none</doc>
+ line="3072">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3069">The tree to point the commit to</doc>
+ line="3073">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="time" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3070">The time to use to stamp the commit</doc>
+ line="3074">The time to use to stamp the commit</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3071">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3075">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3072">Cancellable</doc>
+ line="3076">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1487">Save @new_config in place of this repository's config file.</doc>
+ line="1599">Save @new_config in place of this repository's config file.</doc>
<source-position filename="ostree-repo.h" line="248"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1489">Repo</doc>
+ line="1601">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="new_config" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1490">Overwrite the config file with this data</doc>
+ line="1602">Overwrite the config file with this data</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2714">Store the content object streamed as @object_input,
+ line="2718">Store the content object streamed as @object_input,
with total length @length. The actual checksum will
be returned as @out_csum.</doc>
<source-position filename="ostree-repo.h" line="418"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2716">Repo</doc>
+ line="2720">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2717">If provided, validate content against this checksum</doc>
+ line="2721">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2718">Content object stream</doc>
+ line="2722">Content object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2719">Length of @object_input</doc>
+ line="2723">Length of @object_input</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_csum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2720">Binary checksum</doc>
+ line="2724">Binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2721">Cancellable</doc>
+ line="2725">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_content_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2932">Asynchronously store the content object @object. If provided, the
+ line="2936">Asynchronously store the content object @object. If provided, the
checksum @expected_checksum will be verified.</doc>
<source-position filename="ostree-repo.h" line="484"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2934">Repo</doc>
+ line="2938">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2935">If provided, validate content against this checksum</doc>
+ line="2939">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2936">Input</doc>
+ line="2940">Input</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2937">Length of @object</doc>
+ line="2941">Length of @object</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2938">Cancellable</doc>
+ line="2942">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2939">Invoked when content is writed</doc>
+ line="2943">Invoked when content is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2940">User data for @callback</doc>
+ line="2944">User data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2973">Completes an invocation of ostree_repo_write_content_async().</doc>
+ line="2977">Completes an invocation of ostree_repo_write_content_async().</doc>
<source-position filename="ostree-repo.h" line="493"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2975">a #OstreeRepo</doc>
+ line="2979">a #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2976">a #GAsyncResult</doc>
+ line="2980">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2977">A binary SHA256 checksum of the content object</doc>
+ line="2981">A binary SHA256 checksum of the content object</doc>
<type name="guint8" c:type="guchar**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2687">Store the content object streamed as @object_input, with total
+ line="2691">Store the content object streamed as @object_input, with total
length @length. The given @checksum will be treated as trusted.
This function should be used when importing file objects from local
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2689">Repo</doc>
+ line="2693">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2690">Store content using this ASCII SHA256 checksum</doc>
+ line="2694">Store content using this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2691">Content stream</doc>
+ line="2695">Content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2692">Length of @object_input</doc>
+ line="2696">Length of @object_input</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2693">Cancellable</doc>
+ line="2697">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4135">Store as objects all contents of the directory referred to by @dfd
+ line="4139">Store as objects all contents of the directory referred to by @dfd
and @path all children into the repository @self, overlaying the
resulting filesystem hierarchy into @mtree.</doc>
<source-position filename="ostree-repo.h" line="756"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4137">Repo</doc>
+ line="4141">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4138">Directory file descriptor</doc>
+ line="4142">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4139">Path</doc>
+ line="4143">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4140">Overlay directory contents into this tree</doc>
+ line="4144">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4141">Optional modifier</doc>
+ line="4145">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4142">Cancellable</doc>
+ line="4146">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4094">Store objects for @dir and all children into the repository @self,
+ line="4098">Store objects for @dir and all children into the repository @self,
overlaying the resulting filesystem hierarchy into @mtree.</doc>
<source-position filename="ostree-repo.h" line="748"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4096">Repo</doc>
+ line="4100">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4097">Path to a directory</doc>
+ line="4101">Path to a directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4098">Overlay directory contents into this tree</doc>
+ line="4102">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4099">Optional modifier</doc>
+ line="4103">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4100">Cancellable</doc>
+ line="4104">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2417">Store the metadata object @object. Return the checksum
+ line="2421">Store the metadata object @object. Return the checksum
as @out_csum.
If @expected_checksum is not %NULL, verify it against the
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2419">Repo</doc>
+ line="2423">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2420">Object type</doc>
+ line="2424">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2421">If provided, validate content against this checksum</doc>
+ line="2425">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2422">Metadata</doc>
+ line="2426">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_csum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2423">Binary checksum</doc>
+ line="2427">Binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2424">Cancellable</doc>
+ line="2428">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_metadata_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2596">Asynchronously store the metadata object @variant. If provided,
+ line="2600">Asynchronously store the metadata object @variant. If provided,
the checksum @expected_checksum will be verified.</doc>
<source-position filename="ostree-repo.h" line="403"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2598">Repo</doc>
+ line="2602">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2599">Object type</doc>
+ line="2603">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2600">If provided, validate content against this checksum</doc>
+ line="2604">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2601">Metadata</doc>
+ line="2605">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2602">Cancellable</doc>
+ line="2606">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2603">Invoked when metadata is writed</doc>
+ line="2607">Invoked when metadata is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2604">Data for @callback</doc>
+ line="2608">Data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2637">Complete a call to ostree_repo_write_metadata_async().</doc>
+ line="2641">Complete a call to ostree_repo_write_metadata_async().</doc>
<source-position filename="ostree-repo.h" line="412"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2639">Repo</doc>
+ line="2643">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2640">Result</doc>
+ line="2644">Result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2641">Binary checksum value</doc>
+ line="2645">Binary checksum value</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2494">Store the metadata object @variant; the provided @checksum is
+ line="2498">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
<source-position filename="ostree-repo.h" line="467"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2496">Repo</doc>
+ line="2500">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2497">Object type</doc>
+ line="2501">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2498">Store object with this ASCII SHA256 checksum</doc>
+ line="2502">Store object with this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2499">Metadata object stream</doc>
+ line="2503">Metadata object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2500">Length, may be 0 for unknown</doc>
+ line="2504">Length, may be 0 for unknown</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2501">Cancellable</doc>
+ line="2505">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2531">Store the metadata object @variant; the provided @checksum is
+ line="2535">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
<source-position filename="ostree-repo.h" line="459"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2533">Repo</doc>
+ line="2537">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2534">Object type</doc>
+ line="2538">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2535">Store object with this ASCII SHA256 checksum</doc>
+ line="2539">Store object with this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2536">Metadata object</doc>
+ line="2540">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2537">Cancellable</doc>
+ line="2541">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4185">Write all metadata objects for @mtree to repo; the resulting
+ line="4189">Write all metadata objects for @mtree to repo; the resulting
@out_file points to the %OSTREE_OBJECT_TYPE_DIR_TREE object that
the @mtree represented.</doc>
<source-position filename="ostree-repo.h" line="868"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4187">Repo</doc>
+ line="4191">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4188">Mutable tree</doc>
+ line="4192">Mutable tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="out_file"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4189">An #OstreeRepoFile representing @mtree's root.</doc>
+ line="4193">An #OstreeRepoFile representing @mtree's root.</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4190">Cancellable</doc>
+ line="4194">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2859">Create an `OstreeContentWriter` that allows streaming output into
+ line="2863">Create an `OstreeContentWriter` that allows streaming output into
the repository.</doc>
<source-position filename="ostree-repo.h" line="439"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2873">A new writer, or %NULL on error</doc>
+ line="2877">A new writer, or %NULL on error</doc>
<type name="ContentWriter" c:type="OstreeContentWriter*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2861">Repo,</doc>
+ line="2865">Repo,</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2862">Expected checksum (SHA-256 hex string)</doc>
+ line="2866">Expected checksum (SHA-256 hex string)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2863">user id</doc>
+ line="2867">user id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="gid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2864">group id</doc>
+ line="2868">group id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2865">Unix file mode</doc>
+ line="2869">Unix file mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="content_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2866">Expected content length</doc>
+ line="2870">Expected content length</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2867">Extended attributes (GVariant type `(ayay)`)</doc>
+ line="2871">Extended attributes (GVariant type `(ayay)`)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2772">Synchronously create a file object from the provided content. This API
+ line="2776">Synchronously create a file object from the provided content. This API
is intended for small files where it is reasonable to buffer the entire
content in memory.
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2791">Checksum (as a hex string) of the committed file</doc>
+ line="2795">Checksum (as a hex string) of the committed file</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2774">repo</doc>
+ line="2778">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2775">The expected checksum</doc>
+ line="2779">The expected checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2776">User id</doc>
+ line="2780">User id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="gid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2777">Group id</doc>
+ line="2781">Group id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2778">File mode</doc>
+ line="2782">File mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2779">Extended attributes, GVariant of type (ayay)</doc>
+ line="2783">Extended attributes, GVariant of type (ayay)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2780">File contents</doc>
+ line="2784">File contents</doc>
<array length="6" zero-terminated="0" c:type="const guint8*">
<type name="guint8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2781">Cancellable</doc>
+ line="2785">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2818">Synchronously create a symlink object.
+ line="2822">Synchronously create a symlink object.
Unlike `ostree_repo_write_content()`, if @expected_checksum is provided,
this function will not check for the presence of the object beforehand.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2834">Checksum (as a hex string) of the committed file</doc>
+ line="2838">Checksum (as a hex string) of the committed file</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2820">repo</doc>
+ line="2824">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2821">The expected checksum</doc>
+ line="2825">The expected checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2822">User id</doc>
+ line="2826">User id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="gid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2823">Group id</doc>
+ line="2827">Group id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2824">Extended attributes, GVariant of type (ayay)</doc>
+ line="2828">Extended attributes, GVariant of type (ayay)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="symlink_target" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2825">Target of the symbolic link</doc>
+ line="2829">Target of the symbolic link</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2826">Cancellable</doc>
+ line="2830">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1147">Path to repository. Note that if this repository was created
+ line="1259">Path to repository. Note that if this repository was created
via `ostree_repo_new_at()`, this value will refer to a value in
the Linux kernel's `/proc/self/fd` directory. Generally, you
should avoid using this property at all; you can gain a reference
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1180">Path to directory containing remote definitions. The default is `NULL`.
+ line="1292">Path to directory containing remote definitions. The default is `NULL`.
If a `sysroot-path` property is defined, this value will default to
`${sysroot_path}/etc/ostree/remotes.d`.
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1162">A system using libostree for the host has a "system" repository; this
+ line="1274">A system using libostree for the host has a "system" repository; this
property will be set for repositories referenced via
`ostree_sysroot_repo()` for example.
<glib:signal name="gpg-verify-result" when="last">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1198">Emitted during a pull operation upon GPG verification (if enabled).
+ line="1310">Emitted during a pull operation upon GPG verification (if enabled).
Applications can connect to this signal to output the verification
results if desired.
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1201">checksum of the signed object</doc>
+ line="1313">checksum of the signed object</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1202">an #OstreeGpgVerifyResult</doc>
+ line="1314">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4273">A new commit modifier.</doc>
+ line="4277">A new commit modifier.</doc>
<type name="RepoCommitModifier" c:type="OstreeRepoCommitModifier*"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4268">Control options for filter</doc>
+ line="4272">Control options for filter</doc>
<type name="RepoCommitModifierFlags"
c:type="OstreeRepoCommitModifierFlags"/>
</parameter>
destroy="3">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4269">Function that can inspect individual files</doc>
+ line="4273">Function that can inspect individual files</doc>
<type name="RepoCommitFilter" c:type="OstreeRepoCommitFilter"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4270">User data</doc>
+ line="4274">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_notify"
scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4271">A #GDestroyNotify</doc>
+ line="4275">A #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
version="2017.13">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4424">See the documentation for
+ line="4399">See the documentation for
`ostree_repo_devino_cache_new()`. This function can
then be used for later calls to
`ostree_repo_write_directory_to_mtree()` to optimize commits.
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4426">Modifier</doc>
+ line="4401">Modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="cache" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4427">A hash table caching device,inode to checksums</doc>
+ line="4402">A hash table caching device,inode to checksums</doc>
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_commit_modifier_set_sepolicy">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4346">If @policy is non-%NULL, use it to look up labels to use for
+ line="4349">If @policy is non-%NULL, use it to look up labels to use for
"security.selinux" extended attributes.
Note that any policy specified this way operates in addition to any
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4348">An #OstreeRepoCommitModifier</doc>
+ line="4351">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4349">Policy to use for labeling</doc>
+ line="4352">Policy to use for labeling</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4368">In many cases, one wants to create a "derived" commit from base commit.
+ line="4371">In many cases, one wants to create a "derived" commit from base commit.
SELinux policy labels are part of that base commit. This API allows
one to easily set up SELinux labeling from a base commit.</doc>
<source-position filename="ostree-repo.h" line="732"/>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4370">Commit modifier</doc>
+ line="4373">Commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4371">OSTree repo containing @rev</doc>
+ line="4374">OSTree repo containing @rev</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4372">Find SELinux policy from this base commit</doc>
+ line="4375">Find SELinux policy from this base commit</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
c:identifier="ostree_repo_commit_modifier_set_xattr_callback">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4323">If set, this function should return extended attributes to use for
+ line="4326">If set, this function should return extended attributes to use for
the given path. This is useful for things like ACLs and SELinux,
where a build system can label the files as it's committing to the
repository.</doc>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4325">An #OstreeRepoCommitModifier</doc>
+ line="4328">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
destroy="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4326">Function to be invoked, should return extended attributes for path</doc>
+ line="4329">Function to be invoked, should return extended attributes for path</doc>
<type name="RepoCommitModifierXattrCallback"
c:type="OstreeRepoCommitModifierXattrCallback"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4327">Destroy notification</doc>
+ line="4330">Destroy notification</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4328">Data for @callback:</doc>
+ line="4331">Data for @callback:</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="416">An accessor object for SELinux policy in root located at @path</doc>
+ line="472">An accessor object for SELinux policy in root located at @path</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="412">Path to a root directory</doc>
+ line="468">Path to a root directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="413">Cancellable</doc>
+ line="469">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="432">An accessor object for SELinux policy in root located at @rootfs_dfd</doc>
+ line="488">An accessor object for SELinux policy in root located at @rootfs_dfd</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</return-value>
<parameters>
<parameter name="rootfs_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="428">Directory fd for rootfs (will not be cloned)</doc>
+ line="484">Directory fd for rootfs (will not be cloned)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="429">Cancellable</doc>
+ line="485">Cancellable</doc>
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
+ </parameter>
+ </parameters>
+ </constructor>
+ <constructor name="new_from_commit"
+ c:identifier="ostree_sepolicy_new_from_commit"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="273">Extract the SELinux policy from a commit object via a partial checkout. This is useful
+for labeling derived content as separate commits.
+
+This function is the backend of `ostree_repo_commit_modifier_set_sepolicy_from_commit()`.</doc>
+ <source-position filename="ostree-sepolicy.h" line="48"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="285">A new policy</doc>
+ <type name="SePolicy" c:type="OstreeSePolicy*"/>
+ </return-value>
+ <parameters>
+ <parameter name="repo" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="275">The repo</doc>
+ <type name="Repo" c:type="OstreeRepo*"/>
+ </parameter>
+ <parameter name="rev" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="276">ostree ref or checksum</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ <parameter name="cancellable"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="277">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_sepolicy_fscreatecon_cleanup">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="653">Cleanup function for ostree_sepolicy_setfscreatecon().</doc>
- <source-position filename="ostree-sepolicy.h" line="88"/>
+ line="713">Cleanup function for ostree_sepolicy_setfscreatecon().</doc>
+ <source-position filename="ostree-sepolicy.h" line="93"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="655">Not used, just in case you didn't infer that from the parameter name</doc>
+ line="715">Not used, just in case you didn't infer that from the parameter name</doc>
<type name="gpointer" c:type="void**"/>
</parameter>
</parameters>
<method name="get_csum"
c:identifier="ostree_sepolicy_get_csum"
version="2016.5">
- <source-position filename="ostree-sepolicy.h" line="55"/>
+ <source-position filename="ostree-sepolicy.h" line="60"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="476">Checksum of current policy</doc>
+ line="536">Checksum of current policy</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="490">Store in @out_label the security context for the given @relpath and
+ line="550">Store in @out_label the security context for the given @relpath and
mode @unix_mode. If the policy does not specify a label, %NULL
will be returned.</doc>
- <source-position filename="ostree-sepolicy.h" line="58"/>
+ <source-position filename="ostree-sepolicy.h" line="63"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="492">Self</doc>
+ line="552">Self</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
<parameter name="relpath" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="493">Path</doc>
+ line="553">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="unix_mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="494">Unix mode</doc>
+ line="554">Unix mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="out_label"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="495">Return location for security context</doc>
+ line="555">Return location for security context</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="496">Cancellable</doc>
+ line="556">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="get_name" c:identifier="ostree_sepolicy_get_name">
- <source-position filename="ostree-sepolicy.h" line="52"/>
+ <source-position filename="ostree-sepolicy.h" line="57"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="460">Type of current policy</doc>
+ line="520">Type of current policy</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
</parameters>
</method>
<method name="get_path" c:identifier="ostree_sepolicy_get_path">
- <source-position filename="ostree-sepolicy.h" line="49"/>
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="500">This API should be considered deprecated, because it's supported for
+policy objects to be created from file-descriptor relative paths, which
+may not be globally accessible.</doc>
+ <source-position filename="ostree-sepolicy.h" line="54"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="448">Path to rootfs</doc>
+ line="508">Path to rootfs</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-sepolicy.c"
+ line="502">A SePolicy object</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="542">Reset the security context of @target based on the SELinux policy.</doc>
- <source-position filename="ostree-sepolicy.h" line="72"/>
+ line="602">Reset the security context of @target based on the SELinux policy.</doc>
+ <source-position filename="ostree-sepolicy.h" line="77"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="544">Self</doc>
+ line="604">Self</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="545">Path string to use for policy lookup</doc>
+ line="605">Path string to use for policy lookup</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="info"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="546">File attributes</doc>
+ line="606">File attributes</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="target" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="547">Physical path to target file</doc>
+ line="607">Physical path to target file</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="548">Flags controlling behavior</doc>
+ line="608">Flags controlling behavior</doc>
<type name="SePolicyRestoreconFlags"
c:type="OstreeSePolicyRestoreconFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="549">New label, or %NULL if unchanged</doc>
+ line="609">New label, or %NULL if unchanged</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="550">Cancellable</doc>
+ line="610">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="setfscreatecon"
c:identifier="ostree_sepolicy_setfscreatecon"
throws="1">
- <source-position filename="ostree-sepolicy.h" line="82"/>
+ <source-position filename="ostree-sepolicy.h" line="87"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="619">Policy</doc>
+ line="679">Policy</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="620">Use this path to determine a label</doc>
+ line="680">Use this path to determine a label</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="621">Used along with @path</doc>
+ line="681">Used along with @path</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</class>
<bitfield name="SePolicyRestoreconFlags"
c:type="OstreeSePolicyRestoreconFlags">
- <source-position filename="ostree-sepolicy.h" line="69"/>
+ <source-position filename="ostree-sepolicy.h" line="74"/>
<member name="none"
value="0"
c:identifier="OSTREE_SEPOLICY_RESTORECON_FLAGS_NONE">
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2891">Older version of ostree_sysroot_stage_tree_with_options().</doc>
+ line="2889">Older version of ostree_sysroot_stage_tree_with_options().</doc>
<source-position filename="ostree-sysroot.h" line="208"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2893">Sysroot</doc>
+ line="2891">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2894">osname to use for merge deployment</doc>
+ line="2892">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2895">Checksum to add</doc>
+ line="2893">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2896">Origin to use for upgrades</doc>
+ line="2894">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="provided_merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2897">Use this deployment for merge path</doc>
+ line="2895">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="override_kernel_argv"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2898">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
+ line="2896">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2899">The new deployment path</doc>
+ line="2897">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2900">Cancellable</doc>
+ line="2898">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2844">Check out deployment tree with revision @revision, performing a 3
+ line="2842">Check out deployment tree with revision @revision, performing a 3
way merge with @provided_merge_deployment for configuration.
When booted into the sysroot, you should use the
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2846">Sysroot</doc>
+ line="2844">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2847">osname to use for merge deployment</doc>
+ line="2845">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2848">Checksum to add</doc>
+ line="2846">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2849">Origin to use for upgrades</doc>
+ line="2847">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="provided_merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2850">Use this deployment for merge path</doc>
+ line="2848">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="opts"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2851">Options</doc>
+ line="2849">Options</doc>
<type name="SysrootDeployTreeOpts"
c:type="OstreeSysrootDeployTreeOpts*"/>
</parameter>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2852">The new deployment path</doc>
+ line="2850">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2853">Cancellable</doc>
+ line="2851">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3292">Entirely replace the kernel arguments of @deployment with the
+ line="3290">Entirely replace the kernel arguments of @deployment with the
values in @new_kargs.</doc>
<source-position filename="ostree-sysroot.h" line="166"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3294">Sysroot</doc>
+ line="3292">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3295">A deployment</doc>
+ line="3293">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="new_kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3296">Replace deployment's kernel arguments</doc>
+ line="3294">Replace deployment's kernel arguments</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3297">Cancellable</doc>
+ line="3295">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3341">By default, deployment directories are not mutable. This function
+ line="3339">By default, deployment directories are not mutable. This function
will allow making them temporarily mutable, for example to allow
layering additional non-OSTree content.</doc>
<source-position filename="ostree-sysroot.h" line="253"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3343">Sysroot</doc>
+ line="3341">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3344">A deployment</doc>
+ line="3342">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="is_mutable" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3345">Whether or not deployment's files can be changed</doc>
+ line="3343">Whether or not deployment's files can be changed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3346">Cancellable</doc>
+ line="3344">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2983">Stage an overlay initrd to be used in an upcoming deployment. Returns a checksum which
+ line="2981">Stage an overlay initrd to be used in an upcoming deployment. Returns a checksum which
can be passed to ostree_sysroot_deploy_tree_with_options() or
ostree_sysroot_stage_tree_with_options() via the `overlay_initrds` array option.</doc>
<source-position filename="ostree-sysroot.h" line="193"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2985">Sysroot</doc>
+ line="2983">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2986">File descriptor to overlay initrd</doc>
+ line="2984">File descriptor to overlay initrd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2987">Overlay initrd checksum</doc>
+ line="2985">Overlay initrd checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2988">Cancellable</doc>
+ line="2986">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3040">Older version of ostree_sysroot_stage_tree_with_options().</doc>
+ line="3038">Older version of ostree_sysroot_stage_tree_with_options().</doc>
<source-position filename="ostree-sysroot.h" line="230"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3042">Sysroot</doc>
+ line="3040">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3043">osname to use for merge deployment</doc>
+ line="3041">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3044">Checksum to add</doc>
+ line="3042">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3045">Origin to use for upgrades</doc>
+ line="3043">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3046">Use this deployment for merge path</doc>
+ line="3044">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="override_kernel_argv"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3047">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
+ line="3045">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3048">The new deployment path</doc>
+ line="3046">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3049">Cancellable</doc>
+ line="3047">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3074">Like ostree_sysroot_deploy_tree(), but "finalization" only occurs at OS
+ line="3072">Like ostree_sysroot_deploy_tree(), but "finalization" only occurs at OS
shutdown time.</doc>
<source-position filename="ostree-sysroot.h" line="241"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3076">Sysroot</doc>
+ line="3074">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3077">osname to use for merge deployment</doc>
+ line="3075">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3078">Checksum to add</doc>
+ line="3076">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3079">Origin to use for upgrades</doc>
+ line="3077">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3080">Use this deployment for merge path</doc>
+ line="3078">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3081">Options</doc>
+ line="3079">Options</doc>
<type name="SysrootDeployTreeOpts"
c:type="OstreeSysrootDeployTreeOpts*"/>
</parameter>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3082">The new deployment path</doc>
+ line="3080">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3083">Cancellable</doc>
+ line="3081">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2227">Older version of ostree_sysroot_write_deployments_with_options(). This
+ line="2225">Older version of ostree_sysroot_write_deployments_with_options(). This
version will perform post-deployment cleanup by default.</doc>
<source-position filename="ostree-sysroot.h" line="173"/>
<return-value transfer-ownership="none">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2229">Sysroot</doc>
+ line="2227">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="new_deployments" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2230">List of new deployments</doc>
+ line="2228">List of new deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2231">Cancellable</doc>
+ line="2229">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2357">Assuming @new_deployments have already been deployed in place on disk via
+ line="2355">Assuming @new_deployments have already been deployed in place on disk via
ostree_sysroot_deploy_tree(), atomically update bootloader configuration. By
default, no post-transaction cleanup will be performed. You should invoke
ostree_sysroot_cleanup() at some point after the transaction, or specify
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2359">Sysroot</doc>
+ line="2357">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="new_deployments" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2360">List of new deployments</doc>
+ line="2358">List of new deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2361">Options</doc>
+ line="2359">Options</doc>
<type name="SysrootWriteDeploymentsOpts"
c:type="OstreeSysrootWriteDeploymentsOpts*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2362">Cancellable</doc>
+ line="2360">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="953">Immediately replace the origin file of the referenced @deployment
+ line="951">Immediately replace the origin file of the referenced @deployment
with the contents of @new_origin. If @new_origin is %NULL,
this function will write the current origin of @deployment.</doc>
<source-position filename="ostree-sysroot.h" line="150"/>
<instance-parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="955">System root</doc>
+ line="953">System root</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="956">Deployment</doc>
+ line="954">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="new_origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="957">Origin content</doc>
+ line="955">Origin content</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="958">Cancellable</doc>
+ line="956">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<source-position filename="ostree-core.h" line="183"/>
<type name="gint" c:type="gint"/>
</constant>
- <function-macro name="TLS_CERT_INTERACTION"
- c:identifier="OSTREE_TLS_CERT_INTERACTION"
- introspectable="0">
- <source-position filename="ostree-tls-cert-interaction.h" line="28"/>
- <parameters>
- <parameter name="o">
- </parameter>
- </parameters>
- </function-macro>
- <function-macro name="TLS_CERT_INTERACTION_CLASS"
- c:identifier="OSTREE_TLS_CERT_INTERACTION_CLASS"
- introspectable="0">
- <source-position filename="ostree-tls-cert-interaction.h" line="29"/>
- <parameters>
- <parameter name="k">
- </parameter>
- </parameters>
- </function-macro>
- <function-macro name="TLS_CERT_INTERACTION_GET_CLASS"
- c:identifier="OSTREE_TLS_CERT_INTERACTION_GET_CLASS"
- introspectable="0">
- <source-position filename="ostree-tls-cert-interaction.h" line="32"/>
- <parameters>
- <parameter name="o">
- </parameter>
- </parameters>
- </function-macro>
<constant name="TREE_GVARIANT_STRING"
value="(a(say)a(sayay))"
c:type="OSTREE_TREE_GVARIANT_STRING">
<source-position filename="ostree-core.h" line="134"/>
<type name="utf8" c:type="gchar*"/>
</constant>
- <record name="TlsCertInteraction"
- c:type="OstreeTlsCertInteraction"
- disguised="1">
- <source-position filename="ostree-tls-cert-interaction.h" line="34"/>
- </record>
- <record name="TlsCertInteractionClass"
- c:type="OstreeTlsCertInteractionClass"
- disguised="1">
- <source-position filename="ostree-tls-cert-interaction.h" line="35"/>
- </record>
<constant name="VERSION"
value="2021.500000"
c:type="OSTREE_VERSION"
<docsection name="ostree-sepolicy">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="36">A #OstreeSePolicy object can load the SELinux policy from a given
+ line="37">A #OstreeSePolicy object can load the SELinux policy from a given
root and perform labeling.</doc>
</docsection>
<docsection name="ostree-sign">
</parameter>
</parameters>
</function>
+ <docsection name="soup-form">
+ <doc xml:space="preserve"
+ filename="ostree-soup-form.c"
+ line="19">libsoup contains several help methods for processing HTML forms as
+defined by <ulink
+url="http://www.w3.org/TR/html401/interact/forms.html#h-17.13">the
+HTML 4.01 specification</ulink>.</doc>
+ </docsection>
+ <docsection name="soup-uri">
+ <doc xml:space="preserve"
+ filename="ostree-soup-uri.c"
+ line="115">A #SoupURI represents a (parsed) URI.
+
+Many applications will not need to use #SoupURI directly at all; on
+the client side, soup_message_new() takes a stringified URI, and on
+the server side, the path and query components are provided for you
+in the server callback.</doc>
+ </docsection>
<function name="validate_checksum_string"
c:identifier="ostree_validate_checksum_string"
throws="1">